package utils;

public class IPHolder {

    private static ThreadLocal<String> IP_T = new ThreadLocal<>();

    public static void putIp(String ip){
        IP_T.set(ip);
    }

    public static String getIp(){
        return IP_T.get();
    }

    public static void clear(){
        IP_T.remove();
    }
}
